package com.tensquare.gathering.service.Impl;

/**
 * @Description
 * @Date 2021/3/21 21:00
 */

import com.tensquare.gathering.mapper.SysLogMapper;
import com.tensquare.gathering.pojo.SysLog;
import com.tensquare.gathering.service.ISysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;



/**
 * @author Promise
 * @createTime 2018年12月18日 下午9:30:57
 * @description
 */
@Service("sysLogService")
public class SysLogServiceImpl implements ISysLogService {

    @Autowired
    private SysLogMapper sysLogMapper;

    @Override
    public int insertLog(SysLog entity) {
        // TODO Auto-generated method stub
        sysLogMapper.insert(entity);
        System.out.println(111);
        return sysLogMapper.insert(entity);
    }
}

